package com.sjy.project.fym.team.domain;

import java.math.BigDecimal;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sjy.framework.aspectj.lang.annotation.Excel;
import com.sjy.framework.web.domain.BaseEntity;
import com.sjy.project.fym.place.domain.FyPlace;
import com.sjy.project.fym.user.domain.FyUser;

import io.swagger.annotations.ApiModelProperty;

/**
 * 防疫队伍对象 fy_team
 * 
 * @author sjy
 * @date 2022-04-18
 */
public class FyTeam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long teamId;

    /** 队伍名称 */
    @Excel(name = "队伍名称")
    @ApiModelProperty(value = "队伍名称")
    private String teamName;

    /** 核酸点ID */
    @ApiModelProperty(value = "核酸点ID")
    private Long placeId;

    /** 核酸点名称 */
    @Excel(name = "核酸点名称")
    @ApiModelProperty(value = "核酸点名称")
    private String placeName;

    /** 指挥长 */
    @Excel(name = "指挥长")
    @ApiModelProperty(value = "指挥长")
    private String mgrName;

    /** 手机号码 */
    @Excel(name = "手机号码")
    @ApiModelProperty(value = "手机号码")
    private String mgrPhone;

    /** 覆盖人数 */
    @Excel(name = "覆盖人数")
    @ApiModelProperty(value = "覆盖人数")
    private Integer coverNum;

    /** 采样单元组数 */
    @Excel(name = "采样单元组数")
    @ApiModelProperty(value = "采样单元组数")
    private Integer ygcydyzs;

    /** 预估采样团队人数 */
    @Excel(name = "预估采样团队人数")
    @ApiModelProperty(value = "预估采样团队人数")
    private Integer ygcytdrs;

    /** 检测机构 */
    @Excel(name = "检测机构")
    @ApiModelProperty(value = "检测机构")
    private String checkOrg;

    /** 部门状态（0正常 1停用） */
    @Excel(name = "部门状态", readConverterExp = "0=正常,1=停用")
    @ApiModelProperty(value = "部门状态")
    private String status;

    /** 采样点医务联络员 */
    @Excel(name = "采样点医务联络员")
    @ApiModelProperty(value = "采样点医务联络员")
    private String doctorName;

    /** 采样点医务联络方式 */
    @Excel(name = "采样点医务联络方式")
    @ApiModelProperty(value = "采样点医务联络方式")
    private String doctorPhone;

    /** 删除标志（0代表存在 2代表删除） */
    @ApiModelProperty(value = "采样点医务联络方式")
    private String delFlag;


    /** 经度 */
    @ApiModelProperty(value = "经度")
    private BigDecimal lng;

    /** 纬度 */
    @ApiModelProperty(value = "纬度")
    private BigDecimal lat;

    /** 经度 */
    @ApiModelProperty(value = "经度-设计院格式")
    private BigDecimal lngSjy;

    /** 纬度 */
    @ApiModelProperty(value = "纬度-设计院格式")
    private BigDecimal latSjy;
    

    @ApiModelProperty(value = "当前签到人数")
    private Integer signinCount;
    
    /**队伍内防疫人员*/
    private List<FyUser> fyUsers;
    /**队伍绑定防疫场所*/
    private FyPlace fyPlace;
    
    public void setTeamId(Long teamId)
    {
        this.teamId = teamId;
    }

    public Long getTeamId()
    {
        return teamId;
    }
    public void setTeamName(String teamName)
    {
        this.teamName = teamName;
    }

    public String getTeamName()
    {
        return teamName;
    }
    public void setPlaceId(Long placeId)
    {
        this.placeId = placeId;
    }

    public Long getPlaceId()
    {
        return placeId;
    }
    
    
    public String getPlaceName() {
		return placeName;
	}

	public void setPlaceName(String placeName) {
		this.placeName = placeName;
	}

	public void setMgrName(String mgrName)
    {
        this.mgrName = mgrName;
    }

    public String getMgrName()
    {
        return mgrName;
    }
    public void setMgrPhone(String mgrPhone)
    {
        this.mgrPhone = mgrPhone;
    }

    public String getMgrPhone()
    {
        return mgrPhone;
    }
    public void setCoverNum(Integer coverNum)
    {
        this.coverNum = coverNum;
    }

    public Integer getCoverNum()
    {
        return coverNum;
    }
    public void setYgcydyzs(Integer ygcydyzs)
    {
        this.ygcydyzs = ygcydyzs;
    }

    public Integer getYgcydyzs()
    {
        return ygcydyzs;
    }
    public void setYgcytdrs(Integer ygcytdrs)
    {
        this.ygcytdrs = ygcytdrs;
    }

    public Integer getYgcytdrs()
    {
        return ygcytdrs;
    }
    public void setCheckOrg(String checkOrg)
    {
        this.checkOrg = checkOrg;
    }

    public String getCheckOrg()
    {
        return checkOrg;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDoctorName(String doctorName)
    {
        this.doctorName = doctorName;
    }

    public String getDoctorName()
    {
        return doctorName;
    }
    public void setDoctorPhone(String doctorPhone)
    {
        this.doctorPhone = doctorPhone;
    }

    public String getDoctorPhone()
    {
        return doctorPhone;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public List<FyUser> getFyUsers() {
		return fyUsers;
	}

	public void setFyUsers(List<FyUser> fyUsers) {
		this.fyUsers = fyUsers;
	}

	public FyPlace getFyPlace() {
		return fyPlace;
	}

	public void setFyPlace(FyPlace fyPlace) {
		this.fyPlace = fyPlace;
	}

	public BigDecimal getLng() {
		return lng;
	}

	public void setLng(BigDecimal lng) {
		this.lng = lng;
	}

	public BigDecimal getLat() {
		return lat;
	}

	public void setLat(BigDecimal lat) {
		this.lat = lat;
	}

	public BigDecimal getLngSjy() {
		return lngSjy;
	}

	public void setLngSjy(BigDecimal lngSjy) {
		this.lngSjy = lngSjy;
	}

	public BigDecimal getLatSjy() {
		return latSjy;
	}

	public void setLatSjy(BigDecimal latSjy) {
		this.latSjy = latSjy;
	}

	public Integer getSigninCount() {
		return signinCount;
	}

	public void setSigninCount(Integer signinCount) {
		this.signinCount = signinCount;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("teamId", getTeamId())
            .append("teamName", getTeamName())
            .append("placeId", getPlaceId())
            .append("mgrName", getMgrName())
            .append("mgrPhone", getMgrPhone())
            .append("coverNum", getCoverNum())
            .append("ygcydyzs", getYgcydyzs())
            .append("ygcytdrs", getYgcytdrs())
            .append("checkOrg", getCheckOrg())
            .append("status", getStatus())
            .append("doctorName", getDoctorName())
            .append("doctorPhone", getDoctorPhone())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
